<template>
  <!-- 用户授权二合一 -->
  <div id="dictSet">
    <Breadcrumb content="字典设计" />
    <div class="bodyContent">
      <el-tabs type="border-card">
        <el-tab-pane label="基础字典">
          <DictManage />
        </el-tab-pane>
        <el-tab-pane label="动态表字典">
          <DictTable />
        </el-tab-pane>
        <el-tab-pane label="操作日志">
          <LogInfo requestUrl="/api/sys/basDict"></LogInfo>
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script lang="ts" setup>
import Breadcrumb from '@/components/Breadcrumb.vue'; //面包屑
import DictManage from './DictManage.vue'; //基础字典
import DictTable from './DictTable.vue'; //动态表字典
import LogInfo from '@/components/LogInfo.vue'; //操作日志
</script>

<style lang="scss" scoped>
#dictSet {
  width: 100%;
  height: 100%;
  .bodyContent {
    // 面包屑40px  上下间距10px
    height: calc(100% - 60px);
    
    :deep(.el-tabs) {
      height: 100%;
      .el-tabs__content {
        height: calc(100% - 39px);
        padding: 0;
        .el-tab-pane {
          height: 100%;
        }
      }
    }
  }
}
</style>
